package xinyu.customer.login.data;

import com.logos.common.base.BasePresenter;
import com.logos.common.base.BaseView;
import com.logos.common.source.network.entity.BaseNetEntity;

import xinyu.customer.bean.UserEntity;


public interface LoginContract {

    /**
     * presenter
     */
    interface Presenter extends BasePresenter {
        void getLoginList(String phoneNum, String password);
    }

    /**
     * view
     */
    interface View extends BaseView<Presenter> {

        void showLoading();

        void hideLoading();

        void showMessage(String message);

        void onLoginSuccess(BaseNetEntity<UserEntity> userEntity);

    }
}
